﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace LuShanTea.Service.Entities
{
    public class Role : BaseEntity
    {
        public string Name { get; set; }    // 角色名
        public virtual ICollection<Permission> Permissions { get; set; } = new List<Permission>();  // 角色对应的权限
        public virtual ICollection<AdminUser> AdminUsers { get; set; } = new List<AdminUser>(); // 角色对应的用户
    }
}
